<%@page import="itsm.isperp.framework.core.context.ContextHolder"%>
<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div class="header">
	<h2>
		时间状态进度设置<span><font color="red">（* 为必填项）</font> </span>
	</h2>
</div>
<form action="app/appConfig/save" id="formAppConfig" method="post">
	<table class=" form-table">
		<tbody>
			<tr>
				<td class="td1">状态：</td>
				<td class="td2"><textarea id="IncidentStatus"
						name="IncidentStatus" class="required">${IncidentStatus}</textarea>
				</td>
			</tr>
			<tr>
				<td class="td1">映射时间：</td>
				<td class="td2"><textarea id="IncidentStatusDates"
						name="IncidentStatusDates" class="required">${IncidentStatusDates}</textarea>
				</td>
			</tr>
		</tbody>
	</table>
</form>
<table class=" form-table">
	<tbody>
		<tr>
			<td class="td1"></td>
			<td class="td2"><button type="submit" id="btnSaveAppConfig"
					class="nui-mainbtn" onclick="btnSaveAppConfigOnclick();"
					name="btnSaveAppConfig" value="保存">&nbsp;&nbsp;&nbsp;保存&nbsp;&nbsp;&nbsp;</button>
			</td>
		</tr>
	</tbody>
</table>

<script type="text/javascript">
	function btnSaveAppConfigOnclick() {
		isperp.showLoading();
		isperp.submitForm({
			formId : "formAppConfig",
			success : function(data) {
				if (data.success) {

					isperp.hideLoading();
					isperp.alert("保存成功！");
				} else {
					isperp.alert(data.tata);
				}
			},
			error : function() {

				isperp.hideLoading();
				isperp.alert("保存失败！");
			}
		});
	}
</script>










